from django.db import models

class URL(models.Model):
    url = models.URLField()
    width = models.IntegerField()
    height = models.IntegerField()

class Label(models.Model):
    label = models.CharField(max_length=20)
    frequency = models.IntegerField()
    url = models.ForeignKey(URL)

class AllTimeScore(models.Model):
    username = models.CharField(max_length=20)
    score = models.IntegerField()

class TodayBestMatch(models.Model):
    user1 = models.CharField(max_length=20)
    user2 = models.CharField(max_length=20)
    score = models.IntegerField()